{extend name="public/base"}

{block name="title"}
设置
{/block}

{block name="style"}
{css href="/static/wechat/css/set.css" /}
{/block}

{block name="body"}
<div class="pageControl account">
    <div class="msui_nav msui_navTop">
        <a class="msui_navTop-back" href="javascript:history.back();"><i class="micon-back"></i></a>
        <h1 class="msui_navTop-title">账户</h1>
    </div>
    <div class="weui-top">
        <div class="weui-cells">
            <a class="weui-cell weui-cell_access" href="{:url('verify', ['action' => 'update_phone', 'type' => $type])}">
                <div class="weui-cell__bd">
                    <p class=" cl-3333 fs08">手机号码</p>
                </div>
                <div class="weui-cell__ft  cl-3333 fs08">{$data.phone}</div>
            </a>
            <a class="weui-cell weui-cell_access" href="{:url('save_safe_password', ['type' => $type])}">
                <div class="weui-cell__bd">
                    <p class=" cl-3333 fs08">交易密码</p>
                </div>
                {empty name="data.safe_password"}
                <div class="weui-cell__ft cl-3333 fs08">未设置</div>
                {else /}
                <div class="weui-cell__ft cl-3333 fs08">已设置</div>
                {/empty}
            </a>
            <a class="weui-cell weui-cell_access" href="{:url('update_password', ['type' => $type])}">
                <div class="weui-cell__bd">
                    <p class=" cl-3333 fs08">账户密码</p>
                </div>
                <div class="weui-cell__ft cl-3333 fs08"></div>
            </a>
        </div>
    </div>

</div>
{/block}

{block name="javascript"}
{/block}